#ifndef QTVISIO_H
#define QTVISIO_H

#include <QMainWindow>
#include <QtNetwork>

namespace Ui {
class QtVisio;
}

class QtVisio : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit QtVisio(QWidget *parent = 0,QString pseudo="");
    ~QtVisio();
    void setServerSocket(QTcpSocket * serverSocket);

private slots:
    void on_sendButton_clicked();
    void newData();
    
private:
    Ui::QtVisio * _ui;
    QTcpSocket * _serverSocket;
    qint16 _dataSize;
    QString _pseudo;
};

#endif // QTVISIO_H
